package cn.hfatec.enums;

/**
 *
 * 用户是否可用
 *
 * @author: panwb
 *
 * Date: 2015/3/1
 * Time: 19:52
 */
public enum UserEnabledEnum {

    ENABLED(0, "不可用"), DISABLED(1, "可用");

    private Integer code;
    private String name;

    UserEnabledEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
